<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="generator" content="Adobe RoboHelp - www.adobe.com">
<title>Adding images to documents</title>
<link rel="stylesheet" href="userhelp_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{   document.write("<link rel='stylesheet' href='userhelp.css'>");}
//-->
</script>
<style type="text/css">
<!--
ul.whs1 { list-style:disc; }
p.whs2 { margin-left:40px; }
ol.whs3 { list-style:decimal; }
p.whs4 { margin-left:0px; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
  var strNSS = "<style type='text/css'>";
  strNSS += "p.whs4 {margin-left:1pt; }";
  strNSS +="</style>";
  document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
  if (innerWidth != origWidth || innerHeight != origHeight)
     location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
	origWidth = innerWidth;
	origHeight = innerHeight;
	onresize = reDo;
}
onerror = null; 
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whlang.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
	if (window.addTocInfo)
	{
	addTocInfo("Creating and modifying documents and dashboards\nCreating and formatting a document\nAdding images to a document\nAdding images to documents");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");

	}
	if (window.writeBtnStyle)
		writeBtnStyle();

	if (window.writeIntopicBar)
		writeIntopicBar(1);

	if(1)
	{
	
	}

	if (window.setRelStartPage)
	{
	setRelStartPage("MicroStrategy_Web_Help.htm");

		autoSync(1);
		sendSyncInfo();
		sendAveInfoOut();
	}
}
else
	if (window.gbIE4)
		document.location.reload();

//-->
</script>
<h1>Adding images to documents</h1>
<p>You can insert an image such as a logo into a document. The image must 
 be available to both the Intelligence Server and to the designers of the 
 document. If the designers do not have access to the image, they cannot 
 see the image while creating the document.</p>
<p>You can also use dynamic images in a document. Information and steps 
 are below.</p>
<h2>Ensuring access to images</h2>
<p>To ensure that the image is available as needed, you can use any of 
 the following paths in the <span style="font-weight: bold;"><B>Source</B></span> 
 field on the <span style="font-weight: bold;"><B>Image</B></span> category in 
 the Properties and Formatting dialog box:</p>
<ul type="disc" class="whs1">
	
<li class=p><p>An http reference to a central Web server machine, such 
 as <span class=Code>http://microstrategy/Test/myimage.jpg</span>. 
 Intelligence Server and Desktop must both be able to access the machine.</p></li>
	
<li class=p><p>A full path to the image on a shared network drive, 
 such as<span class=Code> \\my_computer\shared\myimage.jpg</span>. All 
 users, Intelligence Server, Desktop, and the web server must be able to 
 access the drive. </p></li>
	
<li class=p><p>A partial path, such as <span class=Code>Images\myimage.jpg</span>. 
 The image must be copied in all of the following folders:</p></li>
	<ul type="disc" class="whs1">
		
<li class=p><p><span class=Code>Desktop\Images</span></p></li>
		
<li class=p><p><span class=Code>Intelligence Server\Images</span></p></li>
		
<li class=p><p><span class=Code>Web\Images</span></p></li>
	</ul>
</ul>
<p class="whs2"><span style="font-weight: bold;"><B>Note</B></span>: 
 The Web folder is the physical location where the MicroStrategy Web product 
 is installed (for MicroStrategy Web) or where it is deployed (for MicroStrategy 
 Web Universal).</p>
<p>For example, if the image is on a web server machine, you can specify 
 the URL for the file as long as the Intelligence Server and users who 
 design the documents can access that location. Once the location is established 
 and the image file that you want to insert is available in that location, 
 you can insert the image into a document.</p>
<p>You should be able to find the path and file name of images to use by 
 viewing the source of a Web page. To display an image correctly when the 
 document is displayed as PDF, the image type must be <span class=Code>.bmp</span>, 
 <span class=Code>.jpg</span>, <span class=Code>.jpeg</span>, or <span 
 class=Code>.gif</span>.</p>
<h2>To insert an image in a document</h2>
<ol type="1" class="whs3">
	
<li class=p><p>Open the document in <span style="font-weight: bold;"><B>Design 
 </B></span>or <span style="font-weight: bold;"><B>Editable Mode</B></span>.</p></li>
	
<li class=p><p>From the <span style="font-weight: bold;"><B>Insert</B></span> 
 menu, select <span style="font-weight: bold;"><B>Image</B></span>.</p></li>
	
<li class=p><p>Click and drag in the location where you want to insert 
 the image. The Properties and Formatting dialog box opens. </p></li>
	
<li class=p><p>In the <span style="font-weight: bold;"><B>Source</B></span> 
 field, type in the path for the image file. <span style="margin-left: 40px;">In 
 general, you can type the&nbsp;file&nbsp;path&nbsp;in a </span><span class=Code 
 style="margin-left: 40px;">C:/My Images/logo.gif</span><span style="margin-left: 40px;"> 
 format, with the following important exceptions:</span></p></li>
</ol>
<ul type="disc" class="whs1">
	<ul type="disc" class="whs1">
		
<li class=p><p>If the document will be opened in Flash Mode, use 
 an HTTP-based image path. Do not use a network image path (for example, 
 <span class=Code>\\corporate-administrator\Shared\image.jpg</span>) or 
 a local image path (for example, <span class=Code>C:\My images\image.jpg</span>). 
 Images that use a non HTTP-based path are not displayed in Flash Mode. 
 </p></li>
		
<li class=p><p>If the document will be exported to Excel, use an 
 absolute image path. Do not use a relative image path. Images that use 
 a relative image path are not displayed in Excel. </p></li>
		
<li class=p><p>If you are inserting a dynamic image, type the folder 
 path to the image files, then the attribute or metric name in braces { 
 }, followed by the file extension. Also use brackets [ ] if the attribute 
 or metric name contains spaces. For example, the following image source 
 points to the Revenue Trend metric: <span class=Code>\\my_computer\shared\{[Revenue 
 Trend]}.jpg</span></p></li>
	</ul>
</ul>
<ol start="5" type="1" class="whs3">
	
<li class=p><p>To adjust the size of the image automatically, right-click 
 the image and select <span style="font-weight: bold;"><B>Size </B></span>and 
 then<span style="font-weight: bold;"> <B></B></span>select<span style="font-weight: bold;"><B> 
 To Grid</B></span>.</p></li>
	
<li class=p><p>If you want users to be able to click the image and 
 go to a Web page, you can define it as a hyperlink. From the Properties 
 and Formatting dialog box, click <span style="font-weight: bold;"><B>General</B></span>, 
 select the <span style="font-weight: bold;"><B>Is hyperlink</B></span> check 
 box, and type the URL in the <span style="font-weight: bold;"><B>Hyperlink</B></span> 
 field.</p></li>
</ol>
<p>For steps to change image formatting, such as borders, see 
<a HREF="Format_images.htm">Formatting 
 images</a>.</p>
<h2>To insert a dynamic image</h2>
<p>You can add dynamic images to a document. Dynamic images allow different 
 images to be displayed depending on the data in the dataset. You can use 
 attributes and metrics to determine the file name of the image. For example, 
 a document is paged by Region. For each region, a map for that particular 
 region must be displayed. This and other examples are presented in detail 
 in the <span style="font-style: italic;"><I>MicroStrategy Report Services 
 Document Creation Guide</I></span>.</p>
<p>The image must be available to both the Intelligence Server and to the 
 designers of the document; follow the guidelines above. Use the steps 
 above to insert a dynamic image into a document. Before you can use a 
 dynamic image, you must have created the image files with the appropriate 
 names. To use an attribute, the file names must be the attribute elements; 
 to use a metric, the file names must be the values returned by the metric.</p>
<h3>Related topics</h3>
<ul type="disc" class="whs1">
	
<li class=p><p class="whs4">
<a HREF="Format_images.htm">Formatting 
 images</a></p></li>
</ul>
<ul type="disc" class="whs1">
	
<li class=p><p class="whs4">
<a href="Move_controls_on_documents.htm">Moving 
 controls on documents</a></p></li>
	
<li class=p><p class="whs4">
<a href="Distribute_controls.htm">Distributing 
 controls on documents</a></p></li>
	
<li class=p><p class="whs4">
<a href="Ordering_controls_on_documents.htm">Ordering 
 controls on documents</a></p></li>
	
<li class=p><p class="whs4">
<a href="Sizing_controls_on_documents.htm">Sizing 
 controls on documents</a></p></li>
</ul>
<p class="whs4">&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
highlightSearch();
if (window.writeIntopicBar)
	writeIntopicBar(0);
if(0)
{

}
//-->
</script>
</body>
</html>
